package com.nandi.emergencyinspection.mvp

import com.nandi.emergencyinspection.bean.TaskListBean
import com.orhanobut.hawk.Hawk
import com.tbright.ktbaselibrary.mvp.BaseModel
import com.tbright.ktbaselibrary.mvp.BasePresenter
import com.tbright.ktbaselibrary.mvp.BaseView

interface MainContract {

    abstract class MainPresenter : BasePresenter<BaseModel, MainView>() {
        abstract fun getList(token:String = Hawk.get("TOKEN"), page: Int, size: Int, status: Int?=null, taskName: String?=null)
    }

    interface MainView : BaseView {
        fun showResult(result: TaskListBean?)
    }
}